package com.heima.model.comment.pojos;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Data
@Document("ap_comment")
public class ApComment implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    //用户id
    private Integer authorId;

    //用户名
    private String authorName;

    //文章id
    private Long entryId;

    //类型
    private Integer type;

    //评论内容
    private String content;

    //点赞数
    private Integer likes;

    //回复数
    private Integer reply;

    private Integer flag;

    private Date createdTime;


}
